package testing;

import coding.song.Song;
import coding.song.SongList;

/**
 * @创建人 xfliu
 * @创建时间 2021/9/15
 * @描述
 */
public class Test {

    public static void main(String[] args) {
        Song song1=new Song("甜蜜蜜",1);
        Song song2=new Song("龙卷风",2);
        Song song3=new Song("镇魂街",3);

        SongList songList=new SongList(); //歌曲清单
        songList.addSong(song1);
        songList.addSong(song2);
        songList.addSong(song3);
        songList.querySong();
//        songList.delSong("龙卷风");
//        songList.querySong();
        System.out.println("============================");
        songList.updateSong("龙卷风新名字","龙卷风");
        songList.querySong();


    }

}
